# -*- coding:utf-8 -*-
# @FileName  :tt.py
# @Time      :2020/10/18 17:22
# @Author    :Zhoujirong
# @Desc      :

# import os
# from test_setting import LOCAL_PATH,WEBAPPS_PATH
# import tools
# import redis
#
# def my_redis(host, port):
#     # cur_time = time.strftime('%y-%m-%d %X')
#     tools.logger.info('开始连接redis')
#     try:
#         r = redis.Redis(host=host, port=port, decode_responses=True)
#     except Exception as e:
#         tools.logger.error('redis连接失败，报错%s' % e)
#     else:
#         # print(r.hget('ENT_U_A_C','"16wei"'))
#         print(r.get('shiro:redis:session:1c252e0a-9f8d-4d4f-9c60-bcdd4f30e100'))
#         # print(r.get('0110000000000000'))
#         # print(r.hgetall('ENT_U_A_C'))
#         r.close()
#         # tools.logger.info('redis已清空')
#
# db_string = '''jdbc.driver=oracle.jdbc.driver.OracleDriver
# jdbc.url=jdbc:oracle:thin:@172.28.28.168:1521:orcl
# jdbc.username=dhcc31
# jdbc.password=dhcc310719
# databasePlatform=oracle.jdbc.driver.OracleDriver'''
# with open('db.properties', 'r') as fr,open('db1.txt', 'w') as fw:
#     content = fr.read()
#     print(content)
#     content = content.replace('db_string',db_string)
#     print('2:%s'%content)
#     fw.write(content)
# os.system(r'copy %s D:\zjr\test\war'%('db1.txt'))
#
# with open('amqp.properties', 'r') as fr,open('amqp.properties', 'w') as fw:
#     content = fr.read()
#     print(content)
#     content = content.replace('mq_string',db_string)
#     print('2:%s'%content)
#     fw.write(content)
# os.system(r'copy %s D:\zjr\test\war'%('amqp.properties'))


print(ord('k'))
print(ord('z'))
print(ord('r'))
print(ord('j'))


if __name__ == "__main__":
    pass






